package com.tudouji.project.system.domain;

import com.tudouji.framework.aspectj.lang.annotation.Excel;
import com.tudouji.framework.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 员工管理对象 employee
 * 
 * @author wf
 * @date 2021-01-22
 */
public class Employee extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 员工id */
    @Excel(name = "员工id")
    private String userid;

    /** 员工名称 */
    @Excel(name = "员工名称")
    private String username;

    /** 部门id */
    @Excel(name = "部门id")
    private String deparid;

    /** 部门名称 */
    @Excel(name = "部门名称")
    private String departname;

    /** 金蝶系统人员编码 */
    @Excel(name = "金蝶系统人员编码")
    private String ownerKdn;

    private String telphone;

    private Integer sex;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setUserid(String userid) 
    {
        this.userid = userid;
    }

    public String getUserid() 
    {
        return userid;
    }
    public void setUsername(String username) 
    {
        this.username = username;
    }

    public String getUsername() 
    {
        return username;
    }
    public void setDeparid(String deparid) 
    {
        this.deparid = deparid;
    }

    public String getDeparid() 
    {
        return deparid;
    }
    public void setDepartname(String departname) 
    {
        this.departname = departname;
    }

    public String getDepartname() 
    {
        return departname;
    }
    public void setOwnerKdn(String ownerKdn) 
    {
        this.ownerKdn = ownerKdn;
    }

    public String getOwnerKdn() 
    {
        return ownerKdn;
    }

    public String getTelphone() {
        return telphone;
    }

    public void setTelphone(String telphone) {
        this.telphone = telphone;
    }

    public Integer getSex() {
        return sex;
    }

    public void setSex(Integer sex) {
        this.sex = sex;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userid", getUserid())
            .append("username", getUsername())
            .append("deparid", getDeparid())
            .append("departname", getDepartname())
            .append("ownerKdn", getOwnerKdn())
            .toString();
    }
}
